//
//  DistanceSelectorView.h
//  JiuLe
//
//  Created by 黄鑫 on 16/9/23.
//  Copyright © 2016年 Fine. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, ShowType) {
    ShowTypeDistance,        //选择挑战距离
    ShowTypeTime,            //设置挑战时间
    ShowTypeHeat,            //设置挑战热量
};

@protocol DistanceSelectorViewDelegate <NSObject>

- (void)backSelect:(float)number;

@end

@interface DistanceSelectorView : UIView
@property (assign, nonatomic) id<DistanceSelectorViewDelegate> deleaget;
@property (assign, nonatomic) ShowType showType;
- (void)initCard:(ShowType )showType;
@end
